
add_library(AMath STATIC amath.cpp amath.h)
# EXPORT:生成导出集AMathLibrary
install(TARGETS AMath EXPORT AMathLibrary DESTINATION lib)   
install(FILES amath.h DESTINATION include)

target_include_directories(AMath INTERFACE 
    "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
    "$<INSTALL_INTERFACE:include>"
)